//
// Created on 2024/3/18.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "OhosEditBoxHandler.h"
#include "napi/editbox/TextComponentsInfo.h"
EditBoxHandler *EditBoxHandler::instance = nullptr;
OhosEditBoxHandler::OhosEditBoxHandler() {
    // TODO 
    instance = this;
}

void OhosEditBoxHandler::onTextInputBeginEvent(int32_t id, bool hasFocus, bool isDone) {
    // TODO 
}

void OhosEditBoxHandler::onTextInputEditingEvent(int32_t id, const char *newString) {
    // TODO 
}

void OhosEditBoxHandler::onTextInputEnterEvent(int32_t id, bool hasFocus, bool isDone) { 
    // TODO 
}
void OhosEditBoxHandler::onTextAreaBeginEvent(int32_t id, bool hasFocus, bool isDone) {
    // TODO 
}

void OhosEditBoxHandler::onTextAreaEditingEvent(int32_t id, const char *newString) {
    // TODO 
}

void OhosEditBoxHandler::onTextAreaEnterEvent(int32_t id, bool hasFocus, bool isDone) {
    // TODO 
}
